package com.angel.dao.health;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.angel.core.base.BaseMapper;
import com.angel.health.BuzCustomer;
import com.angel.health.BuzCustomerExample;
import com.angel.health.BuzDoctor;
import com.angel.health.BuzDoctorWorkLog;
import com.angel.health.ln.ChartMap;

public interface BuzCustomerMapper extends BaseMapper<BuzCustomer>{
    int countByExample(BuzCustomerExample example);

    int deleteByExample(BuzCustomerExample example);

    int deleteByPrimaryKey(Integer id);

    int insertSelective(BuzCustomer record);

    List<BuzCustomer> selectByExample(BuzCustomerExample example);

    BuzCustomer selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") BuzCustomer record, @Param("example") BuzCustomerExample example);

    int updateByExample(@Param("record") BuzCustomer record, @Param("example") BuzCustomerExample example);

    int updateByPrimaryKey(BuzCustomer record);
    
    List<Map<String,Object>> findCustomerList(BuzCustomer record);
    
    List<Map<String,Object>> findCustomerByUser(@Param("user") String user);

	List<BuzCustomer> findAllCustomer(BuzCustomer customer);
	
	List<ChartMap> loadChart();
	
	List<Map<String,Object>> docCus(BuzDoctorWorkLog bdwl);
	
	List<Map<String,Object>> selectCustomerByBep(BuzCustomer customer);
    
}